//
//  NSObject+Tool.h
//  

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface NSObject (Tool)

- (UIViewController *)currentViewController;

- (UIViewController *)getCurrentVC;

+(BOOL)isIPhoneX;

+ (CGFloat)vg_safeDistanceTop;

+ (CGFloat)vg_safeDistanceBottom;

+ (CGFloat)vg_statusBarHeight;

+ (CGFloat)vg_navigationBarHeight;

+ (CGFloat)vg_navigationFullHeight;

+ (CGFloat)vg_tabBarHeight;

+ (CGFloat)vg_tabBarFullHeight;

@end
